Click URL vs Link URL
Overview
This page helps to eliminate the confusion around the different uses of "clickurl" and "linkurl" when attempting to return HTTP/HTTPS.
Using the correct function ensures that you get the correct response.
Click URL vs Link URL
Using "linkurl" as a placeholder, the response returned will always contain HTTP://, no matter whether HTTP or HTTPS was sent. Using "clickurl", the response returned will contain whichever was sent in the request.
The parameter of "linkurl" is meant to be used as a placeholder, and as such, should never be used in place of "clickurl" in a live, production scenario. It will ignore what was sent in the request and simply deliver http no matter what.
Examples
Client utilizes AJAX
In a situation where the client utilizes AJAX, using "linkurl" will return http, and this will cause a mixed content error, causing the browser to block the click event from reaching Algonomy.
Client has moved entirely to HTTPS:
Using "linkurl" will still return http, instead of https, even though the entire site has moved to https at that point.